<?php get_header(); ?>
<?php get_template_part('home-widgets'); ?>

<div id="content">


<?php 
if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
         
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                <?php if(has_post_thumbnail()): ?> <div class="thumb"><?php the_post_thumbnail(array('150','150')); ?></div><?php endif; ?>
                  <?php if(is_sticky()):?><img class="featured" src="<?php echo get_template_directory_uri().'/images/featured.png'; ?>"><?php endif;?>	

        <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
                    <div class="entry">   

                    <p><?php thinlines_excerpt_content(); ?>
 				<p class="date"><?php echo get_the_date(); ?> <?php echo get_the_time(); ?></p>
                <p class="commentslink">
                                <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?>
                                </p>
 
            </div>
            
        </div> <!--end post -->
        <?php endwhile; ?>
        <?php endif; ?>
   <?php get_template_part('pagination'); ?>

     </div> <!--end content-->   


<?php get_footer(); ?>
